package front.end.subestacao.ui;

import java.io.File;

public class FiltroArqXml extends javax.swing.filechooser.FileFilter {
    public boolean accept(File file) {
        if (file.isDirectory()) {
        return true;
    }
        String filename = file.getName();
        return filename.endsWith(".xml");
    }
    public String getDescription() {
        return ".xml";
    }

}
